#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.57)
AC_INIT(NemesisRD.core, 1.9, nemesisrd-1x@googlegroups.com)
AC_PREFIX_DEFAULT(/usr/local/nemesis)

# Añadido despues
# ver http://sourceware.org/autobook/autobook/autobook_283.html#SEC283
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([../core.db/DataBlock.cc])
AC_CONFIG_HEADER([../hdrs/nemesis.config.h])

# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
AC_PROG_RANLIB

# Checks for libraries.

# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h limits.h stdlib.h string.h sys/time.h syslog.h unistd.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_TYPE_PID_T
AC_HEADER_TIME
AC_STRUCT_TM

# Checks for library functions.
AC_FUNC_ERROR_AT_LINE
AC_TYPE_SIGNAL
AC_FUNC_STAT
AC_CHECK_FUNCS([clock_gettime gethrtime gettimeofday regcomp strcasecmp strchr strdup strerror uname])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT
